import { createPinia } from 'pinia'

import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()

pinia.use(persist)

// import { useUserStore } from './modules/user'
// export { useUserStore }
// 一键导出所有库内存储
export * from './modules/user'
export default pinia
